package cn.ibizlab.todo.core.pms.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.scheduling.annotation.Async;
import com.alibaba.fastjson.JSONObject;
import org.springframework.cache.annotation.CacheEvict;

import cn.ibizlab.todo.core.pms.domain.ProjectTeam;
import cn.ibizlab.todo.core.pms.filter.ProjectTeamSearchContext;


/**
 * 实体[ProjectTeam] 服务对象接口
 */
public interface IProjectTeamService{

    boolean create(ProjectTeam et) ;
    void createBatch(List<ProjectTeam> list) ;
    boolean update(ProjectTeam et) ;
    void updateBatch(List<ProjectTeam> list) ;
    boolean remove(Long key) ;
    void removeBatch(Collection<Long> idList) ;
    ProjectTeam get(Long key) ;
    ProjectTeam getDraft(ProjectTeam et) ;
    boolean checkKey(ProjectTeam et) ;
    boolean save(ProjectTeam et) ;
    void saveBatch(List<ProjectTeam> list) ;
    Page<ProjectTeam> searchDefault(ProjectTeamSearchContext context) ;
    List<ProjectTeam> selectByRoot(Long id);
    void removeByRoot(Long id);
    void saveByRoot(Long id,List<ProjectTeam> list) ;

}



